package com.bdqn.thymeleaf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @GetMapping(value = "/login")
    public String login(){
        return "login";
    }
    @GetMapping(value = "/main")
    public String main(){
        return "main";
    }
}
